GtkSwitch: Update handle_x in size-allocate
authorMatthias Clasen <mclasen@redhat.com>
Mon, 4 Aug 2014 12:32:40 +0000 (14:32 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 4 Aug 2014 12:36:42 +0000 (14:36 +0200)
commit1569952d0e97448edffdf60266272ff4a4a08bd8
tree1755959bd89077e9c1fa2147fed2443e23c5d67c
parent2e85046b8f96f4f751d6afa13ab220b4dab5c7f6
GtkSwitch: Update handle_x in size-allocate

Since we are storing positions here that depend on the allocation,
we need to update them in size-allocate. This fixes incorrect
positioning of the handle if the switch is active initially.

https://bugzilla.gnome.org/show_bug.cgi?id=734213
gtk/gtkswitch.c